<template>
    <div
        v-loading.fullscreen.lock="store.global.loading"
        element-loading-spinner="el-icon-loading"
        element-loading-background="rgba(0, 0, 0, 0.2)"
        style="height: 100vh;"
    >
        <router-view />
    </div>
</template>

<script lang="ts">
export default { name: 'Main' }
</script>

<script setup lang="ts">
import { useStore } from '@/store'

const store = useStore()
</script>
